{/* Copyright 2020 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License. */}

import {Layout} from '../../../src/Layout';
export default Layout;

import docs from 'docs:@react-spectrum/s2';

export const hideNav = true;
export const section = 'Releases';
export const tags = ['release', 'S2'];
export const date = 'October 1, 2024';
export const title = 'v0.4.0';
export const description = 'Version 0.4.0 introduces six new components including Accordion, Card, CardView, and TableView. This release includes ProgressBar and Badge enhancements, Button pending state support, and various component improvements.';
export const isSubpage = true;

# v0.4.0

Version 0.4.0 introduces six new components including Accordion, Card, CardView, and TableView. This release includes ProgressBar and Badge enhancements, Button pending state support, and various component improvements.

## New components
* [Accordion](../Accordion)
* [Disclosure](../Disclosure)
* [Card](../Card)
* [CardView](../CardView)
* [SegmentedControl](../SegmentedControl)
* [TableView](../TableView)

## Updates
* [ProgressBar](../ProgressBar): Support side label, update edges to be rounded, and support custom widths
* [ProgressCircle](../ProgressCircle): Update edges to be rounded
* [Badge](../Badge): Add subtle and outline fill variants
* [Breadcrumbs](../Breadcrumbs): Add collapse behavior
* [Button](../Button): Add support for pending state
* Update Spectrum Tokens to v46

## Codemods
* Handle legacy Link API
* Remove Section and Items imports if not used elsewhere in file
* Support Badge
* Support Well
* Support icons
* Fix links and install step
